/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fbv.tcc.comparator;

import fbv.tcc.classes.PontoRadiacao;
import java.util.Comparator;

/**
 *
 * @author Casa
 */
 public class PontoRadiacaoCompare implements Comparator<PontoRadiacao> {

        public int compare(PontoRadiacao p1, PontoRadiacao p2) {
            return p1.getData().compareTo(p2.getData());
        }
    }